package edu.sctu.zhengsenwen.month201505.day20150521;

/**
 * Created by user15 on 2015/5/21.
 */
public class TextOne extends TextMore{
    public TextOne(Teacher[] teacher) {
        super(teacher);
    }


    public Teacher[] getTeacherInfo(){

        sortNumber();
        for(int i=0;i<=teacher.length;i++){

            System.out.println(teacher[i].name+"\t"+teacher[i].number);
        }
        return teacher;
    }



    public Student[] getStudent(int code,Student[] student){
        sortStudent(student);
        for(int i=0;i<=student.length;i++){

            if(student[i].code>code){

            }
        }
        return student;
    }
    InterfaceWay interfaceWay = new InterfaceWay() {
        @Override
        public Student[] getStudent(int code, Student[] student) {
            return new Student[0];
        }
    };

    public void getcode(){


    }
}
